﻿
package system.data;

import java.util.*;

import framework.core.*;
/*
	Author    :Jackey
	CreateTime:2008-03-03 10:20:07
*/
public class BalanceBase extends Table 
{
public static final String TABLE_NAME = "T_BALANCE";

private static final String BACKUP_TABLE_NAME = "T_BALANCE_BACKUP";

private static final String BACKUP_SEQ_NAME = "S_BALANCE_BACKUP";


public static final String ID = "ID";

public static final String BALANCE_BILL_CODE = "BALANCE_BILL_CODE";

public static final String BILL_TYPE = "BILL_TYPE";

public static final String BILL_ID = "BILL_ID";

public static final String BILL_CODE = "BILL_CODE";

public static final String TOTAL_MONEY = "TOTAL_MONEY";

public static final String MONEY = "MONEY";

public static final String PAY_TYPE = "PAY_TYPE";

public static final String BALANCE_FLAG = "BALANCE_FLAG";

public static final String BALANCE_USER_ID = "BALANCE_USER_ID";

public static final String BALANCE_USER = "BALANCE_USER";

public static final String BALANCE_TIME = "BALANCE_TIME";

public static final String STATUS = "STATUS";

public static final String CREATE_USER_ID = "CREATE_USER_ID";

public static final String CREATE_USER = "CREATE_USER";

public static final String CREATE_TIME = "CREATE_TIME";

public static final String LAST_UPDATE_USER_ID = "LAST_UPDATE_USER_ID";

public static final String LAST_UPDATE_USER = "LAST_UPDATE_USER";

public static final String LAST_UPDATE_TIME = "LAST_UPDATE_TIME";

public static final String IS_SYNC = "IS_SYNC";


public static Vector m_fields = null;


private String m_id = ""; //ID

private String m_balance_bill_code = ""; //结算单序列编码

private String m_bill_type = ""; //订单类型

private String m_bill_id = ""; //订单ID

private String m_bill_code = ""; //订单编号

private double m_total_money = Value.NULL_DOUBLE; //合计金额

private double m_money = Value.NULL_DOUBLE; //实收金额

private String m_pay_type = ""; //付款方式

private String m_balance_flag = ""; //结算确认标志

private String m_balance_user_id = ""; //结算确认人ID

private String m_balance_user = ""; //结算确认人

private String m_balance_time = ""; //结算确认时间

private String m_status = ""; //是否有效

private String m_create_user_id = ""; //创建用户ID

private String m_create_user = ""; //创建用户

private String m_create_time = ""; //单证创建时间

private String m_last_update_user_id = ""; //最后修改人ID

private String m_last_update_user = ""; //最后修改人

private String m_last_update_time = ""; //最后修改时间

private String m_is_sync = ""; //是否同步



	public String getId()
	{
	    return m_id;
	}
	public void  setId(String v)
	{
		if(getId().equals(v)) return ;
		m_id = v ;
		markDirty(ID);
	}



	

	public String getBalanceBillCode()
	{
	    return m_balance_bill_code;
	}
	public void  setBalanceBillCode(String v)
	{
		if(getBalanceBillCode().equals(v)) return ;
		m_balance_bill_code = v ;
		markDirty(BALANCE_BILL_CODE);
	}



	

	public String getBillType()
	{
	    return m_bill_type;
	}
	public void  setBillType(String v)
	{
		if(getBillType().equals(v)) return ;
		m_bill_type = v ;
		markDirty(BILL_TYPE);
	}



	

	public String getBillId()
	{
	    return m_bill_id;
	}
	public void  setBillId(String v)
	{
		if(getBillId().equals(v)) return ;
		m_bill_id = v ;
		markDirty(BILL_ID);
	}



	

	public String getBillCode()
	{
	    return m_bill_code;
	}
	public void  setBillCode(String v)
	{
		if(getBillCode().equals(v)) return ;
		m_bill_code = v ;
		markDirty(BILL_CODE);
	}



	

	public double getTotalMoney()
	{
	    return m_total_money;
	}
	public void  setTotalMoney(double v)
	{
		if(getTotalMoney()==v) return ;
		m_total_money = v ;
		markDirty(TOTAL_MONEY);
	}



	

	public double getMoney()
	{
	    return m_money;
	}
	public void  setMoney(double v)
	{
		if(getMoney()==v) return ;
		m_money = v ;
		markDirty(MONEY);
	}



	

	public String getPayType()
	{
	    return m_pay_type;
	}
	public void  setPayType(String v)
	{
		if(getPayType().equals(v)) return ;
		m_pay_type = v ;
		markDirty(PAY_TYPE);
	}



	

	public String getBalanceFlag()
	{
	    return m_balance_flag;
	}
	public void  setBalanceFlag(String v)
	{
		if(getBalanceFlag().equals(v)) return ;
		m_balance_flag = v ;
		markDirty(BALANCE_FLAG);
	}



	

	public String getBalanceUserId()
	{
	    return m_balance_user_id;
	}
	public void  setBalanceUserId(String v)
	{
		if(getBalanceUserId().equals(v)) return ;
		m_balance_user_id = v ;
		markDirty(BALANCE_USER_ID);
	}



	

	public String getBalanceUser()
	{
	    return m_balance_user;
	}
	public void  setBalanceUser(String v)
	{
		if(getBalanceUser().equals(v)) return ;
		m_balance_user = v ;
		markDirty(BALANCE_USER);
	}



	

	public String getBalanceTime()
	{
	    return m_balance_time;
	}
	public void  setBalanceTime(String v)
	{
		if(getBalanceTime().equals(v)) return ;
		m_balance_time = v ;
		markDirty(BALANCE_TIME);
	}



	

	public String getStatus()
	{
	    return m_status;
	}
	public void  setStatus(String v)
	{
		if(getStatus().equals(v)) return ;
		m_status = v ;
		markDirty(STATUS);
	}



	

	public String getCreateUserId()
	{
	    return m_create_user_id;
	}
	public void  setCreateUserId(String v)
	{
		if(getCreateUserId().equals(v)) return ;
		m_create_user_id = v ;
		markDirty(CREATE_USER_ID);
	}



	

	public String getCreateUser()
	{
	    return m_create_user;
	}
	public void  setCreateUser(String v)
	{
		if(getCreateUser().equals(v)) return ;
		m_create_user = v ;
		markDirty(CREATE_USER);
	}



	

	public String getCreateTime()
	{
	    return m_create_time;
	}
	public void  setCreateTime(String v)
	{
		if(getCreateTime().equals(v)) return ;
		m_create_time = v ;
		markDirty(CREATE_TIME);
	}



	

	public String getLastUpdateUserId()
	{
	    return m_last_update_user_id;
	}
	public void  setLastUpdateUserId(String v)
	{
		if(getLastUpdateUserId().equals(v)) return ;
		m_last_update_user_id = v ;
		markDirty(LAST_UPDATE_USER_ID);
	}



	

	public String getLastUpdateUser()
	{
	    return m_last_update_user;
	}
	public void  setLastUpdateUser(String v)
	{
		if(getLastUpdateUser().equals(v)) return ;
		m_last_update_user = v ;
		markDirty(LAST_UPDATE_USER);
	}



	

	public String getLastUpdateTime()
	{
	    return m_last_update_time;
	}
	public void  setLastUpdateTime(String v)
	{
		if(getLastUpdateTime().equals(v)) return ;
		m_last_update_time = v ;
		markDirty(LAST_UPDATE_TIME);
	}



	

	public String getIsSync()
	{
	    return m_is_sync;
	}
	public void  setIsSync(String v)
	{
		if(getIsSync().equals(v)) return ;
		m_is_sync = v ;
		markDirty(IS_SYNC);
	}



	



	public String viewId(DBConnection con) throws Exception
	{
		return Value.view(getId());
	}

	public String viewBalanceBillCode(DBConnection con) throws Exception
	{
		return Value.view(getBalanceBillCode());
	}

	public String viewBillType(DBConnection con) throws Exception
	{
		return Value.view(getBillType());
	}

	public String viewBillId(DBConnection con) throws Exception
	{
		return Value.view(getBillId());
	}

	public String viewBillCode(DBConnection con) throws Exception
	{
		return Value.view(getBillCode());
	}

	public String viewTotalMoney(DBConnection con) throws Exception
	{
		return Value.view(getTotalMoney());
	}

	public String viewMoney(DBConnection con) throws Exception
	{
		return Value.view(getMoney());
	}

	public String viewPayType(DBConnection con) throws Exception
	{
		return Value.view(getPayType());
	}

	public String viewBalanceFlag(DBConnection con) throws Exception
	{
		return Value.view(getBalanceFlag());
	}

	public String viewBalanceUserId(DBConnection con) throws Exception
	{
		return Value.view(getBalanceUserId());
	}

	public String viewBalanceUser(DBConnection con) throws Exception
	{
		return Value.view(getBalanceUser());
	}

	public String viewBalanceTime(DBConnection con) throws Exception
	{
		return Value.view(getBalanceTime());
	}

	public String viewStatus(DBConnection con) throws Exception
	{
		return Value.view(getStatus());
	}

	public String viewCreateUserId(DBConnection con) throws Exception
	{
		return Value.view(getCreateUserId());
	}

	public String viewCreateUser(DBConnection con) throws Exception
	{
		return Value.view(getCreateUser());
	}

	public String viewCreateTime(DBConnection con) throws Exception
	{
		return Value.view(getCreateTime());
	}

	public String viewLastUpdateUserId(DBConnection con) throws Exception
	{
		return Value.view(getLastUpdateUserId());
	}

	public String viewLastUpdateUser(DBConnection con) throws Exception
	{
		return Value.view(getLastUpdateUser());
	}

	public String viewLastUpdateTime(DBConnection con) throws Exception
	{
		return Value.view(getLastUpdateTime());
	}

	public String viewIsSync(DBConnection con) throws Exception
	{
		return Value.view(getIsSync());
	}



protected BalanceBase()
{
}

public void fill(BalancePageData pageData) throws Exception
{

	if(pageData.getId()!=null)
	{	
		setId(pageData.getId());
	}

	if(pageData.getBalanceBillCode()!=null)
	{	
		setBalanceBillCode(pageData.getBalanceBillCode());
	}

	if(pageData.getBillType()!=null)
	{	
		setBillType(pageData.getBillType());
	}

	if(pageData.getBillId()!=null)
	{	
		setBillId(pageData.getBillId());
	}

	if(pageData.getBillCode()!=null)
	{	
		setBillCode(pageData.getBillCode());
	}

	if( pageData.getTotalMoney()!=null && 
	   !pageData.getTotalMoney().equals(""))
	{	
		setTotalMoney(Double.parseDouble(pageData.getTotalMoney()));
	}

	if( pageData.getMoney()!=null && 
	   !pageData.getMoney().equals(""))
	{	
		setMoney(Double.parseDouble(pageData.getMoney()));
	}

	if(pageData.getPayType()!=null)
	{	
		setPayType(pageData.getPayType());
	}

	if(pageData.getBalanceFlag()!=null)
	{	
		setBalanceFlag(pageData.getBalanceFlag());
	}

	if(pageData.getBalanceUserId()!=null)
	{	
		setBalanceUserId(pageData.getBalanceUserId());
	}

	if(pageData.getBalanceUser()!=null)
	{	
		setBalanceUser(pageData.getBalanceUser());
	}

	if(pageData.getBalanceTime()!=null)
	{	
		setBalanceTime(pageData.getBalanceTime());
	}

	if(pageData.getStatus()!=null)
	{	
		setStatus(pageData.getStatus());
	}

	if(pageData.getCreateUserId()!=null)
	{	
		setCreateUserId(pageData.getCreateUserId());
	}

	if(pageData.getCreateUser()!=null)
	{	
		setCreateUser(pageData.getCreateUser());
	}

	if(pageData.getCreateTime()!=null)
	{	
		setCreateTime(pageData.getCreateTime());
	}

	if(pageData.getLastUpdateUserId()!=null)
	{	
		setLastUpdateUserId(pageData.getLastUpdateUserId());
	}

	if(pageData.getLastUpdateUser()!=null)
	{	
		setLastUpdateUser(pageData.getLastUpdateUser());
	}

	if(pageData.getLastUpdateTime()!=null)
	{	
		setLastUpdateTime(pageData.getLastUpdateTime());
	}

	if(pageData.getIsSync()!=null)
	{	
		setIsSync(pageData.getIsSync());
	}

}

public String getTableName() 
{
	return TABLE_NAME;
}

public String getBackupTableName() 
{
	return BACKUP_TABLE_NAME;
}

public String getBackupSeqName() 
{
	return BACKUP_SEQ_NAME;
}

public java.util.Vector getFields() 
{
	if(m_fields==null)
	{
		m_fields = new Vector();

		m_fields.add(new Field(ID,Value.TYPE_STRING,false,true,32,"ID"));

		m_fields.add(new Field(BALANCE_BILL_CODE,Value.TYPE_STRING,true,true,30,"结算单序列编码"));

		m_fields.add(new Field(BILL_TYPE,Value.TYPE_STRING,false,true,30,"订单类型"));

		m_fields.add(new Field(BILL_ID,Value.TYPE_STRING,false,false,50,"订单ID"));

		m_fields.add(new Field(BILL_CODE,Value.TYPE_STRING,false,false,30,"订单编号"));

		m_fields.add(new Field(TOTAL_MONEY,Value.TYPE_DOUBLE,false,true,0,"合计金额"));

		m_fields.add(new Field(MONEY,Value.TYPE_DOUBLE,false,true,0,"实收金额"));

		m_fields.add(new Field(PAY_TYPE,Value.TYPE_STRING,false,false,50,"付款方式"));

		m_fields.add(new Field(BALANCE_FLAG,Value.TYPE_STRING,false,true,1,"结算确认标志"));

		m_fields.add(new Field(BALANCE_USER_ID,Value.TYPE_STRING,false,true,32,"结算确认人ID"));

		m_fields.add(new Field(BALANCE_USER,Value.TYPE_STRING,false,false,50,"结算确认人"));

		m_fields.add(new Field(BALANCE_TIME,Value.TYPE_STRING,false,false,20,"结算确认时间"));

		m_fields.add(new Field(STATUS,Value.TYPE_STRING,false,true,1,"是否有效"));

		m_fields.add(new Field(CREATE_USER_ID,Value.TYPE_STRING,false,true,32,"创建用户ID"));

		m_fields.add(new Field(CREATE_USER,Value.TYPE_STRING,false,false,50,"创建用户"));

		m_fields.add(new Field(CREATE_TIME,Value.TYPE_STRING,false,false,20,"单证创建时间"));

		m_fields.add(new Field(LAST_UPDATE_USER_ID,Value.TYPE_STRING,false,true,32,"最后修改人ID"));

		m_fields.add(new Field(LAST_UPDATE_USER,Value.TYPE_STRING,false,false,50,"最后修改人"));

		m_fields.add(new Field(LAST_UPDATE_TIME,Value.TYPE_STRING,false,false,20,"最后修改时间"));

		m_fields.add(new Field(IS_SYNC,Value.TYPE_STRING,false,true,1,"是否同步"));
		
	}
	return m_fields;
}

public void initObject(java.sql.ResultSet rs) throws Exception
{

	m_id = getString(rs,ID);

	m_balance_bill_code = getString(rs,BALANCE_BILL_CODE);

	m_bill_type = getString(rs,BILL_TYPE);

	m_bill_id = getString(rs,BILL_ID);

	m_bill_code = getString(rs,BILL_CODE);

	m_total_money = getDouble(rs,TOTAL_MONEY);

	m_money = getDouble(rs,MONEY);

	m_pay_type = getString(rs,PAY_TYPE);

	m_balance_flag = getString(rs,BALANCE_FLAG);

	m_balance_user_id = getString(rs,BALANCE_USER_ID);

	m_balance_user = getString(rs,BALANCE_USER);

	m_balance_time = getString(rs,BALANCE_TIME);

	m_status = getString(rs,STATUS);

	m_create_user_id = getString(rs,CREATE_USER_ID);

	m_create_user = getString(rs,CREATE_USER);

	m_create_time = getString(rs,CREATE_TIME);

	m_last_update_user_id = getString(rs,LAST_UPDATE_USER_ID);

	m_last_update_user = getString(rs,LAST_UPDATE_USER);

	m_last_update_time = getString(rs,LAST_UPDATE_TIME);

	m_is_sync = getString(rs,IS_SYNC);

	ms_new_flag = ConstDefine.NO;
}

public Value get(String f)
{

	if(f.equalsIgnoreCase(ID))
	{
		return new Value(getId());
	}

	if(f.equalsIgnoreCase(BALANCE_BILL_CODE))
	{
		return new Value(getBalanceBillCode());
	}

	if(f.equalsIgnoreCase(BILL_TYPE))
	{
		return new Value(getBillType());
	}

	if(f.equalsIgnoreCase(BILL_ID))
	{
		return new Value(getBillId());
	}

	if(f.equalsIgnoreCase(BILL_CODE))
	{
		return new Value(getBillCode());
	}

	if(f.equalsIgnoreCase(TOTAL_MONEY))
	{
		return new Value(getTotalMoney());
	}

	if(f.equalsIgnoreCase(MONEY))
	{
		return new Value(getMoney());
	}

	if(f.equalsIgnoreCase(PAY_TYPE))
	{
		return new Value(getPayType());
	}

	if(f.equalsIgnoreCase(BALANCE_FLAG))
	{
		return new Value(getBalanceFlag());
	}

	if(f.equalsIgnoreCase(BALANCE_USER_ID))
	{
		return new Value(getBalanceUserId());
	}

	if(f.equalsIgnoreCase(BALANCE_USER))
	{
		return new Value(getBalanceUser());
	}

	if(f.equalsIgnoreCase(BALANCE_TIME))
	{
		return new Value(getBalanceTime());
	}

	if(f.equalsIgnoreCase(STATUS))
	{
		return new Value(getStatus());
	}

	if(f.equalsIgnoreCase(CREATE_USER_ID))
	{
		return new Value(getCreateUserId());
	}

	if(f.equalsIgnoreCase(CREATE_USER))
	{
		return new Value(getCreateUser());
	}

	if(f.equalsIgnoreCase(CREATE_TIME))
	{
		return new Value(getCreateTime());
	}

	if(f.equalsIgnoreCase(LAST_UPDATE_USER_ID))
	{
		return new Value(getLastUpdateUserId());
	}

	if(f.equalsIgnoreCase(LAST_UPDATE_USER))
	{
		return new Value(getLastUpdateUser());
	}

	if(f.equalsIgnoreCase(LAST_UPDATE_TIME))
	{
		return new Value(getLastUpdateTime());
	}

	if(f.equalsIgnoreCase(IS_SYNC))
	{
		return new Value(getIsSync());
	}
	
	return null;
}
public void set(String f,Value v) throws Exception
{

	if(f.equalsIgnoreCase(ID))
	{
		setId(v.getString());
	}

	if(f.equalsIgnoreCase(BALANCE_BILL_CODE))
	{
		setBalanceBillCode(v.getString());
	}

	if(f.equalsIgnoreCase(BILL_TYPE))
	{
		setBillType(v.getString());
	}

	if(f.equalsIgnoreCase(BILL_ID))
	{
		setBillId(v.getString());
	}

	if(f.equalsIgnoreCase(BILL_CODE))
	{
		setBillCode(v.getString());
	}

	if(f.equalsIgnoreCase(TOTAL_MONEY))
	{
		setTotalMoney(v.getDouble());
	}

	if(f.equalsIgnoreCase(MONEY))
	{
		setMoney(v.getDouble());
	}

	if(f.equalsIgnoreCase(PAY_TYPE))
	{
		setPayType(v.getString());
	}

	if(f.equalsIgnoreCase(BALANCE_FLAG))
	{
		setBalanceFlag(v.getString());
	}

	if(f.equalsIgnoreCase(BALANCE_USER_ID))
	{
		setBalanceUserId(v.getString());
	}

	if(f.equalsIgnoreCase(BALANCE_USER))
	{
		setBalanceUser(v.getString());
	}

	if(f.equalsIgnoreCase(BALANCE_TIME))
	{
		setBalanceTime(v.getString());
	}

	if(f.equalsIgnoreCase(STATUS))
	{
		setStatus(v.getString());
	}

	if(f.equalsIgnoreCase(CREATE_USER_ID))
	{
		setCreateUserId(v.getString());
	}

	if(f.equalsIgnoreCase(CREATE_USER))
	{
		setCreateUser(v.getString());
	}

	if(f.equalsIgnoreCase(CREATE_TIME))
	{
		setCreateTime(v.getString());
	}

	if(f.equalsIgnoreCase(LAST_UPDATE_USER_ID))
	{
		setLastUpdateUserId(v.getString());
	}

	if(f.equalsIgnoreCase(LAST_UPDATE_USER))
	{
		setLastUpdateUser(v.getString());
	}

	if(f.equalsIgnoreCase(LAST_UPDATE_TIME))
	{
		setLastUpdateTime(v.getString());
	}

	if(f.equalsIgnoreCase(IS_SYNC))
	{
		setIsSync(v.getString());
	}
	
}
public String toString()
{
	String msg = "Balance=\n";
	msg += "(\r\n";

	msg += "    ID(id)="+get("id")+"\r\n";

	msg += "    结算单序列编码(balance_bill_code)="+get("balance_bill_code")+"\r\n";

	msg += "    订单类型(bill_type)="+get("bill_type")+"\r\n";

	msg += "    订单ID(bill_id)="+get("bill_id")+"\r\n";

	msg += "    订单编号(bill_code)="+get("bill_code")+"\r\n";

	msg += "    合计金额(total_money)="+get("total_money")+"\r\n";

	msg += "    实收金额(money)="+get("money")+"\r\n";

	msg += "    付款方式(pay_type)="+get("pay_type")+"\r\n";

	msg += "    结算确认标志(balance_flag)="+get("balance_flag")+"\r\n";

	msg += "    结算确认人ID(balance_user_id)="+get("balance_user_id")+"\r\n";

	msg += "    结算确认人(balance_user)="+get("balance_user")+"\r\n";

	msg += "    结算确认时间(balance_time)="+get("balance_time")+"\r\n";

	msg += "    是否有效(status)="+get("status")+"\r\n";

	msg += "    创建用户ID(create_user_id)="+get("create_user_id")+"\r\n";

	msg += "    创建用户(create_user)="+get("create_user")+"\r\n";

	msg += "    单证创建时间(create_time)="+get("create_time")+"\r\n";

	msg += "    最后修改人ID(last_update_user_id)="+get("last_update_user_id")+"\r\n";

	msg += "    最后修改人(last_update_user)="+get("last_update_user")+"\r\n";

	msg += "    最后修改时间(last_update_time)="+get("last_update_time")+"\r\n";

	msg += "    是否同步(is_sync)="+get("is_sync")+"\r\n";
		
	msg += ")\r\n";
	return msg;
}
public void copyBase(BalanceBase srcObj)
{

	setId(srcObj.getId());

	setBillType(srcObj.getBillType());

	setBillId(srcObj.getBillId());

	setBillCode(srcObj.getBillCode());

	setTotalMoney(srcObj.getTotalMoney());

	setMoney(srcObj.getMoney());

	setPayType(srcObj.getPayType());

	setBalanceFlag(srcObj.getBalanceFlag());

	setBalanceUserId(srcObj.getBalanceUserId());

	setBalanceUser(srcObj.getBalanceUser());

	setBalanceTime(srcObj.getBalanceTime());

	setStatus(srcObj.getStatus());

	setCreateUserId(srcObj.getCreateUserId());

	setCreateUser(srcObj.getCreateUser());

	setCreateTime(srcObj.getCreateTime());

	setLastUpdateUserId(srcObj.getLastUpdateUserId());

	setLastUpdateUser(srcObj.getLastUpdateUser());

	setLastUpdateTime(srcObj.getLastUpdateTime());

	setIsSync(srcObj.getIsSync());

}

public String toXml() throws Exception
{
	String xml = "";
	xml += "<Balance>";

	xml += "<Id>"+Value.view(getId())+"</Id>";

	xml += "<BalanceBillCode>"+Value.view(getBalanceBillCode())+"</BalanceBillCode>";

	xml += "<BillType>"+Value.view(getBillType())+"</BillType>";

	xml += "<BillId>"+Value.view(getBillId())+"</BillId>";

	xml += "<BillCode>"+Value.view(getBillCode())+"</BillCode>";

	xml += "<TotalMoney>"+Value.view(getTotalMoney())+"</TotalMoney>";

	xml += "<Money>"+Value.view(getMoney())+"</Money>";

	xml += "<PayType>"+Value.view(getPayType())+"</PayType>";

	xml += "<BalanceFlag>"+Value.view(getBalanceFlag())+"</BalanceFlag>";

	xml += "<BalanceUserId>"+Value.view(getBalanceUserId())+"</BalanceUserId>";

	xml += "<BalanceUser>"+Value.view(getBalanceUser())+"</BalanceUser>";

	xml += "<BalanceTime>"+Value.view(getBalanceTime())+"</BalanceTime>";

	xml += "<Status>"+Value.view(getStatus())+"</Status>";

	xml += "<CreateUserId>"+Value.view(getCreateUserId())+"</CreateUserId>";

	xml += "<CreateUser>"+Value.view(getCreateUser())+"</CreateUser>";

	xml += "<CreateTime>"+Value.view(getCreateTime())+"</CreateTime>";

	xml += "<LastUpdateUserId>"+Value.view(getLastUpdateUserId())+"</LastUpdateUserId>";

	xml += "<LastUpdateUser>"+Value.view(getLastUpdateUser())+"</LastUpdateUser>";

	xml += "<LastUpdateTime>"+Value.view(getLastUpdateTime())+"</LastUpdateTime>";

	xml += "<IsSync>"+Value.view(getIsSync())+"</IsSync>";
	
	xml += "</Balance>";
	return xml;
}

}
